Click here to Skip to main content
15,892,809 members
Home / Discussions / C#
   

C#

 
AnswerRe: webspider/crawler extract Javascript related info Pin
Ravi Bhavnani26-Aug-10 11:57
professionalRavi Bhavnani26-Aug-10 11:57 
AnswerRe: webspider/crawler extract Javascript related info Pin
Pete O'Hanlon26-Aug-10 12:00
mvePete O'Hanlon26-Aug-10 12:00 
QuestionCompress specific text for storage. Pin
kevinnicol26-Aug-10 8:52
kevinnicol26-Aug-10 8:52 
AnswerRe: Compress specific text for storage. Pin
Luc Pattyn26-Aug-10 9:05
sitebuilderLuc Pattyn26-Aug-10 9:05 
GeneralRe: Compress specific text for storage. Pin
kevinnicol26-Aug-10 9:08
kevinnicol26-Aug-10 9:08 
GeneralRe: Compress specific text for storage. Pin
harold aptroot26-Aug-10 9:25
harold aptroot26-Aug-10 9:25 
GeneralRe: Compress specific text for storage. Pin
Luc Pattyn26-Aug-10 9:29
sitebuilderLuc Pattyn26-Aug-10 9:29 
GeneralRe: Compress specific text for storage. Pin
AspDotNetDev26-Aug-10 11:04
protectorAspDotNetDev26-Aug-10 11:04 
Luc Pattyn wrote:
if corners can only have 4 or fewer values that saves 1 bit each


With 4 corners and each corner allowing only 3 possible values, all 4 corners can be stored using 7 bits (because 3^4 = 81 possible combinations, which is less than the 128 combinations 7 bits can store). So, rather than use 2 bits per corner (for a total of 8 bits), only 7 bits are required. It's only a bit, but that might just help to make it down to the next lower byte if the OP can come up with other compression/encoding techniques to save space. Smile | :)

GeneralRe: Compress specific text for storage. Pin
Luc Pattyn26-Aug-10 11:09
sitebuilderLuc Pattyn26-Aug-10 11:09 
GeneralRe: Compress specific text for storage. Pin
AspDotNetDev26-Aug-10 11:16
protectorAspDotNetDev26-Aug-10 11:16 
GeneralRe: Compress specific text for storage. Pin
Luc Pattyn26-Aug-10 11:26
sitebuilderLuc Pattyn26-Aug-10 11:26 
GeneralRe: Compress specific text for storage. Pin
harold aptroot26-Aug-10 11:28
harold aptroot26-Aug-10 11:28 
GeneralRe: Compress specific text for storage. Pin
AspDotNetDev26-Aug-10 11:47
protectorAspDotNetDev26-Aug-10 11:47 
GeneralRe: Compress specific text for storage. Pin
harold aptroot26-Aug-10 12:01
harold aptroot26-Aug-10 12:01 
AnswerRe: Compress specific text for storage. Pin
Ian Shlasko26-Aug-10 10:02
Ian Shlasko26-Aug-10 10:02 
GeneralRe: Compress specific text for storage. Pin
Luc Pattyn26-Aug-10 10:09
sitebuilderLuc Pattyn26-Aug-10 10:09 
GeneralRe: Compress specific text for storage. Pin
Ian Shlasko26-Aug-10 11:34
Ian Shlasko26-Aug-10 11:34 
GeneralRe: Compress specific text for storage. Pin
Luc Pattyn26-Aug-10 11:48
sitebuilderLuc Pattyn26-Aug-10 11:48 
GeneralRe: Compress specific text for storage. Pin
AspDotNetDev26-Aug-10 11:51
protectorAspDotNetDev26-Aug-10 11:51 
GeneralRe: Compress specific text for storage. Pin
Ian Shlasko26-Aug-10 11:53
Ian Shlasko26-Aug-10 11:53 
GeneralRe: Compress specific text for storage. Pin
AspDotNetDev26-Aug-10 12:02
protectorAspDotNetDev26-Aug-10 12:02 
GeneralRe: Compress specific text for storage. Pin
Ian Shlasko26-Aug-10 12:10
Ian Shlasko26-Aug-10 12:10 
GeneralRe: Compress specific text for storage. Pin
AspDotNetDev26-Aug-10 11:48
protectorAspDotNetDev26-Aug-10 11:48 
GeneralRe: Compress specific text for storage. Pin
Luc Pattyn26-Aug-10 12:13
sitebuilderLuc Pattyn26-Aug-10 12:13 
AnswerRe: Compress specific text for storage. Pin
AspDotNetDev26-Aug-10 10:20
protectorAspDotNetDev26-Aug-10 10:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.