11月 28

[荐]瑞士军刀级的格式转换软件:FF Multi Converter

FF Multi Converter 支持丰富的音视频、文档、图片格式间的转换,是当前格式转换方面的“瑞士军刀”,支持简体中文界面。以 FFMPEG 作为后端处理音视频格式转换,unoconv 进行文档处理,PythonMagick 库进行图像文件转换,在手动编译时需要安装这三个软件包。……【阅读全文】

12月 09

在Perl中高效sort——Schwartzian变换

In computer science, the Schwartzian transform is a Perl programming idiom used to improve the efficiency of sorting a list of items. This idiom is appropriate for comparison-based sorting when the ordering is actually based on the ordering of a certain property (the key) of the elements, where computing that property is an intensive operation that should be performed a minimal number of times. The Schwartzian Transform is notable in that it does not use named temporary arrays.……【阅读全文】