1
0
mirror of https://github.com/scrapy/scrapy.git synced 2025-02-24 22:04:16 +00:00

Add warning in docs on performance when using EXSLT regexp functions

This commit is contained in:
Paul Tremberth 2014-01-15 12:52:10 +01:00
parent a3eba68aca
commit 88c8a523a7

View File

@ -280,7 +280,10 @@ Example selecting links in list item with a "class" attribute ending with a digi
[u'link1.html', u'link2.html', u'link4.html', u'link5.html']
>>>
.. warning:: C library ``libxslt`` doesn't natively support EXSLT regular
expressions so `lxml`_'s implementation uses hooks to Python's ``re`` module.
Thus, using regexp functions in your XPath expressions may add a small
performance penalty.
Set operations
~~~~~~~~~~~~~~