Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Binary data type?

by KPeter0314 (Deacon)
on Oct 17, 2002 at 15:44 UTC ( [id://206054]=note: print w/replies, xml ) Need Help??


in reply to Re: Binary data type?
in thread Binary data type?

After more meditation I seem to have come to the same conclusion. An array (hashed or not...) is probably a better way to go for a couple of reasons.
  1. It can contain more that a trit. ;-)
  2. I can easily avoid assigning duplicates to the same slot.
  3. Arrays are relatively easy to deal with.
  4. Quicker to write.
I was just having a flashback to my computer science college days and thinking about other ways to store the data. I wouldn't mind dealving into the vec() bitwise operations evenutally, but I think I have convinced myself otherwise for this project.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://206054]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (2)
As of 2024-04-19 19:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found