[Mono-bugs] [Bug 430963] [Optimization] Don' t allocate 32kb buffer in CachedRawResponse that is never used

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Sep 30 14:46:51 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=430963

User mhabersack at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430963#c1





--- Comment #1 from Marek Habersack <mhabersack at novell.com>  2008-09-30 12:46:51 MDT ---
I'm ok with removing the allocation from the constructor, but GetData should
not return a possibly null reference. Please modify the patch to return an
empty array from GetData if buffer is null. It's ok to commit the patch after
such modification. Thanks!


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list