Closed GoogleCodeExporter closed 9 years ago
[deleted comment]
We can separate new operator into some actions:
allocate memory from heap, to call the constructor from the starting address.
For Space.cpp, this is used to save the construction time.
For ResolveInfo: We use a trick to keep every thing in the same cache line.
This code also fails -Wpedantic.
For StringEntry, this is also a trick to improve spatial locality.
For backends's PLT, I think it's OK to use new to replace the malloc.
Original comment by LubaTang
on 16 May 2013 at 6:52
Original comment by pete.c...@gmail.com
on 18 Sep 2013 at 11:26
Original issue reported on code.google.com by
shanka...@gmail.com
on 16 May 2013 at 3:55