Dear Monks, I have a csv file having information running on multiple rows each having 880 columns as 1s and 0s. Its basically to show the occurence of 880 properties each denoted in a column with 1 for entities characterised in each rows. I want to write the contents of the csv file to a binary file.
The information I am trying to convey in a row can be easily represented by one bit for a column so I want to have a binary file with smaller size than original csv. Also I want to compare every bit in one row in the binary file to respective bits across all rows in a different file and calculate a property value for each row. The number of rows in second file can be as high as 50 million so I want the property calculation to be faster.
Please tell me if this can be accomplished through PERL and the functions I need to explore for the same. Thank you!
In reply to Bit handling in Perl by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |