From: Ann H. <aha...@nu...> - 2011-12-29 22:57:11
|
Sean, > Alex wrote: >> - into some functions using same parameter might >> be passed transaction number (positive value) and something else (negative >> value). I.e. negative sign meant 'this is not transaction' and function behaved >> according to it. > > And some people have complained about some of my suggestions as being "hacks"!!! > Actually, there is at least one other "special" value for transaction ids. Zero is always the system transaction. If you consider that a signed long is "retirement proof", which we did, using the other half for something else doesn't seem so bad. Particularly if you cut your programming teeth in a 64Kb address space. Maybe it's time to look at all the small integers as well. Cheers, Ann |