Board index » delphi » Re: Fastcode Voting - 3GB Memory Space
Dennis
![]() Delphi Developer |
Dennis
![]() Delphi Developer |
Re: Fastcode Voting - 3GB Memory Space2005-09-16 03:13:53 PM delphi74 Hi I like that one too. Could somebody update our list? Best regards Dennis |
Hannes Danzl[NDD]
![]() Delphi Developer |
2005-09-16 06:41:30 PM
Re: Fastcode Voting - 3GB Memory Space
Dennis writes:
QuoteHi Quote2) Functions have to be compatible with an address space larger than 2GB? Hannes Danzl [NexusDB Developer] Newsgroup archive at www.tamaracka.com/search.htm |
Hallvard Vassbotn
![]() Delphi Developer |
2005-09-16 07:08:56 PM
Re: Fastcode Voting - 3GB Memory Space
"Eric Grange" <XXXX@XXXXX.COM>writes
Quote>1) A function may not assume that the high bit of a pointer is 0. *Comparing* (>, <) integer variables that have been assigned from pointers is another, matter though. |
Eric Grange
![]() Delphi Developer |
2005-09-16 07:38:45 PM
Re: Fastcode Voting - 3GB Memory SpaceQuoteWhy? QuoteA := Integer($F1234567) works fine. and easily dealt with false positive. The rationale is that Integer() on the other hand will be almost exclusively found for pointer/object casts to perform pointer arithmetic in Pascal. Quote*Comparing* (>, <) integer variables that have been assigned from of pointers to (signed) integer, then you will eliminate pretty much all pascal-based signed pointer arithmetic (incl. comparisons). Eric |
Avatar Zondertau
![]() Delphi Developer |
2005-09-16 09:59:06 PM
Re: Fastcode Voting - 3GB Memory Space
Current results:
1) A function may not assume that the high bit of a pointer is 0. 2 votes: Florent, Hannes 2) Functions have to be compatible with an address space larger than 2GB (LARGE_ADDRESS_AWARE PE Flag) 2 votes: Eric, Hp 3) No rule. No votes 4) Functions must be compatible with an address space larger than 2GB, and therefore it cannot be assumed that the high bit of a pointer is 0. 3 votes: Avatar, Dennis, Pierre |
Dennis
![]() Delphi Developer |
2005-09-17 05:43:06 PM
Re: Fastcode Voting - 3GB Memory Space
Hi All
I would like to close this voting today. Could those of you who voted before 4) was suggested, reconsider your vote. Could I have more votes? Best regards Dennis |
Dennis
![]() Delphi Developer |
2005-09-21 10:27:08 PM
Re: Fastcode Voting - 3GB Memory Space
No 4 has been decided
Best regards Dennis |