21
edits
Sunterberg (talk | contribs) |
|||
| Line 45: | Line 45: | ||
** great places for memory clearing optimizations: | ** great places for memory clearing optimizations: | ||
*** GCheap when zeroing a block | *** GCheap when zeroing a block | ||
*** | *** GCalloc when zeroing a non-RC object | ||
** freeitem in GCalloc.cpp: RC objects need to be zeroed manually. non-RC objects are zeroed automatically by memset. | **** freeitem in GCalloc.cpp: RC objects need to be zeroed manually. non-RC objects are zeroed automatically by memset. | ||
* moh asks: on tamarin-central, testsinglebyte slow-down does not appear. why? | * moh asks: on tamarin-central, testsinglebyte slow-down does not appear. why? | ||
** UTF-8 is used in tamarin-tracing, which causes VM to search variable-length strings. | ** UTF-8 is used in tamarin-tracing, which causes VM to search variable-length strings. | ||
edits