Semi-Structured Data and the Web – Day 3
Woah. It always worries me a little when the greek symbols come out. So far, we’ve pretty much avoided them in the Semi-Structured Data and the Web course, so to see them today, whilst not really unexpected, did make my heart sink a little. These are my thoughts and opinions and do not reflect those [...]
Posted on February 16, 2009 at 11:07 pm by Paul Brabban · Permalink
· Leave a comment
In: Computer Science, MSc · Tagged with: css, dtd, error, html, schema, validation, xhtml, xml
In: Computer Science, MSc · Tagged with: css, dtd, error, html, schema, validation, xhtml, xml
Faster Java – Strings
If you’re building a long String in Java, don’t stick String objects together using ‘+’, for example: String str = “Hello”; str = str + world; str = str + “!”; Why not? It’s really slow when you do it a lot! What should you do instead? Use the append(String) method in StringBuffer (Java 1.4.2 [...]
Posted on January 29, 2009 at 7:20 pm by Paul Brabban · Permalink
· One Comment
In: Beginners, Development, Java · Tagged with: concatenation, html, Java, optimisation, performance, speed, string, stringbuffer, stringbuilder
In: Beginners, Development, Java · Tagged with: concatenation, html, Java, optimisation, performance, speed, string, stringbuffer, stringbuilder
