S
Skybuck Flying
Hello,
I just had an idea for another universal code version 5.
The idea is as follows:
32 bit integer, 32 bit pointer, 32 bit integer, 32 bit pointer, 32 bit
integer, 32 bit pointer.
The 32 bit pointer is nil, if no more integers follow.
The 32 bit pointer points to the next integer in memory if there does follow
another integer.
This idea will execute very fast on cpu's I am sure.
Another benefit is the integers can grow very easily, because the next
integer can be anywhere in memory.
Finally when the data structure needs to be stored on disk or any other
storage medium it would be wise to store it sequentially.
This can be done by simply replacing the pointers with a special value to
indicate more integers follow, finally the nil pointer will follow
to indicate it was the last integer.
Well I have my doors open, and the car/busses stink, busy day today. So I am
gonna sign off for now.
But definetly interesting idea to speed stuff up and still allow flexibility
Bye,
Skybuck.
I just had an idea for another universal code version 5.
The idea is as follows:
32 bit integer, 32 bit pointer, 32 bit integer, 32 bit pointer, 32 bit
integer, 32 bit pointer.
The 32 bit pointer is nil, if no more integers follow.
The 32 bit pointer points to the next integer in memory if there does follow
another integer.
This idea will execute very fast on cpu's I am sure.
Another benefit is the integers can grow very easily, because the next
integer can be anywhere in memory.
Finally when the data structure needs to be stored on disk or any other
storage medium it would be wise to store it sequentially.
This can be done by simply replacing the pointers with a special value to
indicate more integers follow, finally the nil pointer will follow
to indicate it was the last integer.
Well I have my doors open, and the car/busses stink, busy day today. So I am
gonna sign off for now.
But definetly interesting idea to speed stuff up and still allow flexibility
Bye,
Skybuck.