Ifilter reader stable version released

Source: Internet
Author: User

PreviousLearn together. The ifilter lib preview is the first release. Thank you for your support.The stable version is packaged this afternoon.

It contains all the source code, test project, and project file in Visual Studio 2008 format. If it is not a vsts version, you can manually delete the unrecognized test project under solution.

 

The improvements are as follows:

1. Fixed some bugs Based on the preview version.

2. complete support for various possible inputs

3. modified some logic and the output is very stable now (Note: You can set the buffer to the minimum value and try it: P.)

 

 

I was going to talk about a bunch of nonsense. Now it's over five minutes, so I cut off some of the instructions. Here I just want to pick the points and sigh:

To implement a textreader or a reader model, a state conversion is required. The state conversion is related to the state of the reader and the state of the internal reader,If the problem is not properly grasped, the problem will become very complicated..

A reader requires a buffer to support pre-reading and buffering of data obtained from the internal reader. The number, size, and read logic of the buffer directly affect the reader performance.

When the internal reader's read data size is uncontrollable, pay attention to the buffer overflow. This mode is difficult to apply and requires actual analysis of actual problems to grasp various possibilities.

 

 

You will see in filterreader that a fixed buffer size is always maintained, and there is no temporary buffer for other short life periods in the class. In this way, the read performance can be optimized to the maximum, and the memory usage can be kept small under multi-task and high-load operations.

The test project contains stress tests. You can add test cases to verify reliability.

Finally, I have to mention that Adobe's filter is very different, and the loading time is much slower than others. In addition, an internal error occurs when multi-thread access is performed without COM Initialization, and an exception occurs when the DLL is unloaded. Therefore, I used the complex com Loading Mechanism of. Net to replace the loading in the process that was previously favored by me.

 

Stop and finally release:

 Eclipse.indexingservice_stablev2.zip

 

To make it easier for friends who haven't installed 2008ide to release the binary version:

Eclipse.indexingservice_stablev2(binary).zip

 

 

 

Only with your support can it develop better. If you download a friend, please give me feedback on usage (reply, leave a message, or email). Thank you first.

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.