홈페이지 : http://extral.sourceforge.net
ExtraL은 원래 Tcl에서 큰 리스트를 처리할 때 발생하는 성능 문제를 극복하기 위해 추가적인 리스트 처리 명령어만을 포함하고 있었던 것에서 유래되었습니다. 이후 다른 명령어들도 추가되었습니다. Tcl 바이트 컴파일러가 등장하면서 성능 문제는 더 이상 큰 이슈가 아니게 되었지만, 저는 여전히 많은 리스트 조작 함수들이 매우 편리하다고 생각합니다. 그리고 C의 오브젝트 시스템을 사용해 다시 작성된 일부 함수들은 여전히 더 빠릅니다. 대부분의 함수들은 이제 Tcl만으로도 사용할 수 있게 되었습니다. C 코드로 구현된 버전을 사용하면 단지 속도가 더 빨라집니다.
Extral is a generally useful library which extends Tcl with:
- Extra list manipulation commands
- Mathematical commands on whole lists
- Extra string manipulation commands
- Extra array manipulation commands
- Command manipulation commands
- Validation commands: isint, isdouble
- Maps: store structured data in lists
- Filing commands
- Info commands
- Date and time: extra commands for handling dates
- atexit: execute commands when Tcl exits
- tempfile: get names for temporary files
- Structures
- Convenience functions: various useful procs
- ssort: enhanced lsort
The name comes from the fact that ExtraL originally only contained extra list processing commands to overcome some of the performance problems in Tcl when processing large lists. Later other commands were added. With the advent of the Tcl byte compiler, the performance is not such a great issue any longer, but I still find many of the list manipulation functions very convenient, and some of those that were now rewritten using the object system in C are still faster.
Most functions are now also available in Tcl-only form as well. Using the C code just gives a speedup.
'Tcl & Tk > 확장 패키지 (Extension Package)' 카테고리의 다른 글
TclMixer 1.2.3 (0) | 2025.08.27 |
---|---|
SMARTPACK (0) | 2025.08.27 |
tcljudy 1.0.1 (0) | 2025.08.27 |
dictionary 1.0.1 (0) | 2025.08.27 |
Oil 0.1.1 (0) | 2025.08.27 |