GPCsolutions / dolibarr

Dolibarr ERP/CRM is a modern software to manage your company or foundation activity (contacts, suppliers, invoices, orders, stocks, agenda, ...).It's an opensource software (wrote with PHP language) designed for small and medium companies, foundation and freelances. You can freely install, use and distribute it as a standalone application or as a web application to use it from every internet access and media.
http://www.dolibarr.org
GNU General Public License v3.0
2 stars 0 forks source link

Closes #53: Wysiwyg links #73

Closed marcosgdf closed 9 years ago

marcosgdf commented 9 years ago

Improved dol_textishtml function.

Now it takes less memory and does a better HTML detection

Before:

Total Incl. Wall Time (microsec):   134 microsecs
Total Incl. CPU (microsecs):    0 microsecs
Total Incl. MemUse (bytes): 4,072 bytes
Total Incl. PeakMemUse (bytes): 0 bytes
Number of Function Calls:   17

After:

Total Incl. Wall Time (microsec):   42 microsecs
Total Incl. CPU (microsecs):    0 microsecs
Total Incl. MemUse (bytes): 3,992 bytes
Total Incl. PeakMemUse (bytes): 0 bytes
Number of Function Calls:   4
marcosgdf commented 9 years ago

Seems Scrutinizer errored. Not related with this PR though

rdoursenaud commented 9 years ago

I don't think we need that on our repo. Upstream seems enough to me.

marcosgdf commented 9 years ago

Jean-Pierre once told me that contributions to Dolibarr must show that they were "sponsored/funded" by GPC, and so I make a PR to your fork and you do a PR to main dolibarr repo.

Should I push upstream then instead of here?

rdoursenaud commented 9 years ago

Yes please. That was stupid of me to ask for more work ;)