Author Topic: How to compress long-strings into asciiz  (Read 1132 times)

0 Members and 1 Guest are viewing this topic.

d2010

  • Bull Frog
  • Posts: 326
How to compress long-strings into asciiz
« on: April 17, 2020, 04:48:31 AM »
exists Compressor to ascii-z inside longString, for AutoCad?
The "sq" can be more small?
Code: [Select]
(setq sq (sTRcat "istlevel$levelnfc23$levelnfcn23$leveljc0$leveljcn0$levelfollow0$levelstartat1$levelspace0$levelindent0{$leveltext$leveltemplateid134807555$'01o"
That is very hard question.
https://github.com/antirez/smaz
« Last Edit: April 17, 2020, 04:54:01 AM by d2010 »

baitang36

  • Bull Frog
  • Posts: 213
Re: How to compress long-strings into asciiz
« Reply #1 on: April 18, 2020, 12:02:59 AM »
LISP is a very slow language and is not suitable for compression. Let's think about it briefly, using a short string to represent a duplicate string.