Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » U++ community news and announcements » Core 2019
Re: Core 2019 [message #52201 is a reply to message #52200] Thu, 08 August 2019 23:30 Go to previous messageGo to next message
Novo is currently offline  Novo
Messages: 1358
Registered: December 2006
Ultimate Contributor
mirek wrote on Thu, 08 August 2019 16:59
Commited:

enum {
	UPP_HEAP_ALIGNMENT = 16,
	UPP_HEAP_MINBLOCK = 32,
};

Thanks!
I guess, UPP_HEAP_MINBLOCK should be defined separately for Release and Debug. I initially assumed that it is 32 bytes. I'm glad that I checked that this isn't true ...
It looks kile it is 32 * N - 4 in Debug.


Regards,
Novo
Re: Core 2019 [message #52202 is a reply to message #52201] Fri, 09 August 2019 00:05 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Novo wrote on Thu, 08 August 2019 23:30
mirek wrote on Thu, 08 August 2019 16:59
Commited:

enum {
	UPP_HEAP_ALIGNMENT = 16,
	UPP_HEAP_MINBLOCK = 32,
};

Thanks!
I guess, UPP_HEAP_MINBLOCK should be defined separately for Release and Debug. I initially assumed that it is 32 bytes. I'm glad that I checked that this isn't true ...
It looks kile it is 32 * N - 4 in Debug.


True, but really this should only be tuning parameter for optimization, thus only relevant in release... (Alignment on the other hand migh be important elsewhere, but that is stable).
Previous Topic: ide: Assist / Display/apply patch
Next Topic: ide: pkg_config support
Goto Forum:
  


Current Time: Fri Mar 29 10:23:21 CET 2024

Total time taken to generate the page: 0.01446 seconds